home *** CD-ROM | disk | FTP | other *** search
- -- stack: in.2d
- -- format: 8 (HyperCard 1)
- -- flags: 0x1000 (none)
- -- protect password hash: 0
- -- maximum user level: 5 (scripting)
- -- window: Rect(x1=0, y1=0, x2=0, y2=0)
- -- screen: Rect(x1=0, y1=0, x2=0, y2=0)
- -- card dimensions: w=0 h=0
- -- scroll: x=0 y=0
- -- background count: 7
- -- first background id: 5175
- -- card count: 47
- -- first card id: 13039
- -- list block id: 5716
- -- print block id: 24823
- -- font table block id: 0
- -- style table block id: 0
- -- free block count: 2
- -- free size: 4864 bytes
- -- total size: 581632 bytes
- -- stack block size: 5632 bytes
- -- created by hypercard version: 0x00000000
- -- compacted by hypercard version: 0x01208000
- -- modified by hypercard version: 0x01208000
- -- opened by hypercard version: 0x01228000
- -- patterns[0]: 0x0000000000000000
- -- patterns[1]: 0x8000000008000000
- -- patterns[2]: 0x8800220088002200
- -- patterns[3]: 0x55A95A94AB54AA55
- -- patterns[4]: 0xFFFFDFFBEFFBDFFF
- -- patterns[5]: 0xCCAA33AACCAA33AA
- -- patterns[6]: 0xEEAABBAAEEAABBAA
- -- patterns[7]: 0xEEBBBBEEEEBBBBEE
- -- patterns[8]: 0xFFBBFFEEFFBBFFEE
- -- patterns[9]: 0xFFBBFFFFFFBBFFFF
- -- patterns[10]: 0x8010022001084004
- -- patterns[11]: 0xFFFFFFFFFFFFFFFF
- -- patterns[12]: 0x8822882288228822
- -- patterns[13]: 0x1122448811224488
- -- patterns[14]: 0xFF00FF00FF00FF00
- -- patterns[15]: 0x8000000000000000
- -- patterns[16]: 0xC300B90820401600
- -- patterns[17]: 0x8822552288225522
- -- patterns[18]: 0x8855225588552255
- -- patterns[19]: 0x77DD77DD77DD77DD
- -- patterns[20]: 0x8000000000000000
- -- patterns[21]: 0xAA55AA55AA55AA55
- -- patterns[22]: 0x038448300C020101
- -- patterns[23]: 0x8244394482010101
- -- patterns[24]: 0xE0371C00F80FE000
- -- patterns[25]: 0x88AAAAAAAA88AA88
- -- patterns[26]: 0xC8C2109800666608
- -- patterns[27]: 0xBE808808EB088880
- -- patterns[28]: 0x25C8328964244C92
- -- patterns[29]: 0xA29C41BE2AC914EB
- -- patterns[30]: 0x40A00000040A0000
- -- patterns[31]: 0x8040200002040800
- -- patterns[32]: 0xAA00800088008000
- -- patterns[33]: 0xFF80808080808080
- -- patterns[34]: 0x081C22C180010204
- -- patterns[35]: 0xFF808080FF080808
- -- patterns[36]: 0xF87422478F172271
- -- patterns[37]: 0x4004000800200200
- -- patterns[38]: 0x0084200028010000
- -- patterns[39]: 0xFAF5FAF5A050A050
- -- checksum: 0x0
- ----- HyperTalk script -----
- on openStack
- if the version < 1.2 then
- answer "This stack needs HyperCard version 1.2."
- set lockMessages to true
- go home
- else
- play "Chorus"
- hide menubar
- hide message
- set cursor to 4
- go to card "main menu"
- push card
- show card field "loading"
- set lockScreen to true
- set lockMessages to true
- show all cards
- set lockScreen to false
- set lockMessages to false
- hide card field "loading"
- global menu1, menu2, saveLevel, openField
- put the userLevel into saveLevel
- set the userLevel to 2
- put NewMenu("Sections","General","Head","Wings", "Feathers","Flight","Ecology","(-","HELP Card","(-", "References","Glossary","Outline") into menu1
- if menu1 is 0 then answer("Unable to make menu 'Sections'") with "Damn"
- put NewMenu("Video","Vdisc","(-","StartUp Player") into menu2
- if menu2 is 0 then answer("Unable to make menu 'Video'") with "Damn"
- end if
- end openStack
-
- on closeStack
- set cursor to 4
- visual iris close
- go to card "Main Menu"
- visual dissolve slowly
- go to card "Closing Credit"
- wait 13 seconds
- global menu1, menu2, saveLevel
- put DeleteMenu(menu1) into menu1
- put DeleteMenu(menu2) into menu2
- set userlevel to saveLevel
- show menubar
- play silence
- end closeStack
-
- on idle
- global menu1, menu2, lastTick
- if (the ticks-lastTick)>120 then
- put the ticks into lastTick
- ShowMenu(menu1)
- ShowMenu(menu2)
- end if
- pass idle
- end idle
-
- on doMenu which
- global menu1, menu2
- if which is "Vdisc" then
- visual iris open
- go to card "Main Menu/Vdisc"
- else if which is "General" then
- visual iris open
- go to card "General"
- else if which is "Head" then
- visual iris open
- go to card "Head Anatomy"
- else if which is "Wings" then
- visual iris open
- go to card "Wings-1"
- else if which is "Feathers" then
- visual iris open
- go to card "Feather-1"
- else if which is "Flight" then
- visual iris open
- go to card "Flight-1"
- else if which is "Ecology" then
- visual iris open
- go to card "Ecology"
- else if which is "HELP Card" then
- visual iris open
- go to card "Help Card"
- else if which is "References" then
- visual iris open
- go to card "References"
- else if which is "Glossary" then
- visual iris open
- go to card "Glossary"
- else if which is "Outline" then
- visual venetian blinds
- go to card "Outline"
- else if which is "StartUp Player" then
- answer "Turn on player and Monitor." with "Cancel" or "OK"
- if it is "cancel" then exit to Hypercard
- answer "Place disc into the disc drawer face down." with "Cancel" or "OK"
- if it is "cancel" then exit to Hypercard
- answer "Close the disc drawer" with "Cancel" or "OK"
- if it is "cancel" then exit to HyperCard
- answer "Startup takes about 30 seconds, please wait" with "Cancel" or "OK"
- if it is "cancel" then exit to HyperCard
- if it is "OK" then
- set cursor to 4
- video play
- wait 25 seconds
- video picture, off
- video search, 001
- end if
- answer "Disc startup complete"
- if it is "OK" then
- video search, 001
- video sound, 1
- video sound, 2
- video picture
- end if
- else pass doMenu
- end doMenu
-
- on glossarySearch
- global openField
- set lockText of the target to false
- put the short name of the target into openField
- click at the clickLoc
- click at the clickLoc
- if the selection is empty then
- set lockText of the target to true
- exit glossarySearch
- else
- put the selection into searchWord
- set lockText of the target to true
- put searchWord & "ΓÇô" into searchString
- set lockScreen to true
- go to card "Glossary"
- find searchString in field "glossary"
- if the result is not empty then
- pop card
- show card field openField
- set lockscreen to false
- set cursor to 4
- put "Sorry," && "ΓÇ£" & searchWord & "ΓÇ¥" && "isn't listed in the Glossary" into message
- wait 4 seconds
- hide message
- else
- if the result is empty then
- set lockScreen to false
- end if
- end if
- end if
- end glossarySearch
-
- on video
- put "PioneerLDV6000" into player
- put the params into command
- put player into word 1 of command
- do command
- end video
-
- on enterKey
- choose Browse tool
- end enterKey
-
-
-
-
-